namespace NEnsure.Rules
{
	public class AlphaNumericRule : RegexRule
	{
		public override string RuleKey
		{
			get { return "Alpha-Numeric Rule"; }
		}

		public AlphaNumericRule()
			: base(@"^[a-zA-Z0-9]*$", "Property {key} can only contain letters [a-z, A-Z] or digits [0-9]. You entered: {value}")
		{
			
		}
	}
}
